import Vue from 'vue';
import Vuex from 'vuex';
import user from './modules/user';
import ui from './modules/ui';
import language from './modules/language';
import getters from './getters';

Vue.use(Vuex);

const store = new Vuex.Store({
  strict: true,
  modules: {
    user,
    ui,
    language,
  },
  getters,
});

export default store;
